﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Wap/Shop/ShopSite.Master" AutoEventWireup="true" CodeBehind="FormDisplay.aspx.cs"  Inherits="ZLCMS.Web.Wap.Shop.FormDisplay" %>

<%@ Register src="~/Wap/Shop/Footer.ascx" tagname="Footer" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title><%=FormDef.Title%></title>
    <link href="/Wap/lib/validator-0.7.0/css/jquery.validator.css" rel="stylesheet" type="text/css" />
    <script src="/Wap/lib/jquery/jquery.json-2.2.min.js" type="text/javascript"></script>
    <script src="/Wap/lib/validator-0.7.0/jquery.validator.js" type="text/javascript"></script>
    <script src="/Wap/lib/validator-0.7.0/local/zh_CN.js" type="text/javascript"></script>
    
	<link href="/wap/lib/jquerymobile_datepicker/css/datepicker.css" rel="stylesheet" type="text/css" />
    <script src="/wap/lib/jquerymobile_datepicker/js/bootstrap-datepicker.js" type="text/javascript"></script>
    <script type="text/javascript" src="/wap/lib/common/formdisplay.js?ver=1.0"></script>

    
<style>
#mypage label, #mypage legend{font-size:14px; }    
#mypage input, #mypage select { border-radius: 0; font-size:14px; display:block; border:none;}
#mypage #btApply { background:#f9384d; color:#fff; border-radius: 0; font-size:14px; padding:0.5em 0; display:block; text-align:center; border:none;}
#mypage .ui-input-text, #mypage .ui-select .ui-btn { background: rgba(0, 0, 0, 0) none repeat scroll 0 0; box-shadow: none; margin-bottom: 5px;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pages" runat="server">
    <!--S page -->
    <div data-role="page" id="mypage">
        <div role="main" class="ui-content">
        <div class="refundTop">
            <a href="javascript:void(0)" onclick="history.back()" data-ajax="false"><img src="images/arrowLeftCom.png" /></a>
            <%=FormDef.Title%>
        </div>

        <div style="background-color: #fff; overflow: hidden; border-top: 1px solid #eee; border-bottom: 1px solid #ddd; margin-top: 10px;">
              <div  style="margin:10px; font-size: 14px; color: #666;">
            <%if (!string.IsNullOrEmpty(FormDef.Content))
              { %>
             <%=FormDef.Content%>
              <%} %>
              </div>

            <form id="myform" style="margin:10px; font-size: 12px; color: #666;" form_id="<%=Request["formid"] %>" return_url="<%=FormDef.SubmitReturn%>">
            </form>
            <br />
            <div style="margin:10px 10px 30px; font-size: 12px; color: #666;" >
                <button id="btApply" data-theme="o" style=" border:none; text-shadow:none;" onclick="submitForm($('#myform'))">提交
                </button>
            </div>
            
            <%--<div id="console"></div>--%>
        </div>

        </div>
    </div>
    
<script type="text/javascript">
    displayForm($('#myform'),<%=JsonData %>);
</script>
</asp:Content>
